Create Security Roles

{ createRoles }

Adds multiple security roles to the system.

Method

/API2/access/createRoles

  • API Section: /API2/access
  • API Version: 2.0
  • From Release: 2018.5
  • Can be used by all user types
  • REST API only via POST actions.
  • Input Parameters

    Name

    roleData

    Object Type

    Description

    Output Response

    Successful Result Code

    200

    Response Type

    Description of Response Type

    Generic API response object with success or failure flag and related messages.

    Notes

    The added roles are simply shells. Use 'AddUserToRole' method to attach users to the roles to make them effective

    Examples